import { computed, defineComponent, ref } from 'vue';
import Basic from './Basic.vue';
import ContextMenu from './ContextMenu.vue';
import MenuInMenu from './MenuInMenu.vue';
import Persistent from './Persistent.vue';
import Positions from './Positions.vue';
import Sizing from './Sizing.vue';
import Style from './Style.vue';
import Target from './Target.vue';
import Transitions from './Transitions.vue';
import VModel from './VModel.vue';
import VariousContent from './VariousContent.vue';

export default defineComponent({
  name: 'App',
  props: {},
  emits: [],

  setup(props, { attrs, emit, expose, slots }) {
    expose({});

    return () => {
      return (
        <div class='block'>
          <div class='block-'>
            <h5 class='title'>Basic</h5>
            <Basic />
          </div>
          <div class='block-'>
            <h5 class='title'>ContextMenu</h5>
            <ContextMenu />
          </div>
          <div class='block-'>
            <h5 class='title'>MenuInMenu</h5>
            <MenuInMenu />
          </div>
          <div class='block-'>
            <h5 class='title'>Persistent</h5>
            <Persistent />
          </div>
          <div class='block-'>
            <h5 class='title'>Positions</h5>
            <Positions />
          </div>
          <div class='block-'>
            <h5 class='title'>Sizing</h5>
            <Sizing />
          </div>
          <div class='block-'>
            <h5 class='title'>Style</h5>
            <Style />
          </div>
          <div class='block-'>
            <h5 class='title'>Target</h5>
            <Target />
          </div>
          <div class='block-'>
            <h5 class='title'>Transitions</h5>
            <Transitions />
          </div>
          <div class='block-'>
            <h5 class='title'>VModel</h5>
            <VModel />
          </div>
          <div class='block-'>
            <h5 class='title'>VariousContent</h5>
            <VariousContent />
          </div>
        </div>
      );
    };
  },
});
